package com.family.inter;

import java.util.List;
import java.util.Map;

import com.family.domain.Food;
import com.family.domain.SubFood;
import com.family.domain.User;

public interface IFood {
    public void addFood(Food food);
    public void update(Food food);
    public void delete(String id);
    public List<Food> getFoodList();
    public List<Food> getFoodByLike(String foodname);
    public List<Food> getFoodByLikeNoGroup(String foodname);
    public List<Food> getFoodListByType(String id);
    public Food findById(String id);
    public void addFoodGroup(Map map);
    public void delFoodGroup(Map map);
    public void delFoodGroupByid(String foodtypeid);
    public List<SubFood> getFoodListByOrderid(String orderid);
    public List<Food> getFoodEvSort(Map map);
    public List<Food> getFoodCount(Map map);
    public List<Food> getFoodListNoGroup();
    public void updateCount(Map map);
}
